package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.AllotAreaSet;
import com.xmy.cultivate.entity.Area;
import com.xmy.cultivate.mapper.AllotAreaSetMapper;
import com.xmy.cultivate.service.IAllotAreaSetService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 区域分配比例设置 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2025-06-12
 */
@Service
public class AllotAreaSetServiceImpl extends ServiceImpl<AllotAreaSetMapper, AllotAreaSet> implements IAllotAreaSetService {

    @Autowired
    AllotAreaSetMapper allotAreaSetMapper;

    @Override
    public List<Area> getAllotAreaList(){
        return allotAreaSetMapper.getAllotAreaList();
    }
}
